package encryption

import (
	"crypto/md5"
	"fmt"
	"io"
)

// EncryptMd5  md5加密
func EncryptMd5(password string) string  {
	w := md5.New()
	io.WriteString(w, password)
	return fmt.Sprintf("%x", w.Sum(nil))
}
